<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
<html>
	<head>
		<meta http-equiv="content-type" content="text/html;charset=utf-8" />
		<title>New Application Home Page</title>
		<link rel="Stylesheet" href="${rootContext}/includes/${judo_style_css_document}" type="text/css" />
	</head>
	<body>		
		<div id="page">
			<div id="header">
				<jsp:include page="/header.jsp" flush="false"/>
			</div>
			<div id="navcontainer">
				${judo_menu}
			</div>
			<div id="content">
				<h3>New Application Home Page</h3>
				
				<!-- Remove the following text to add your own home page -->
				
				<p><b>Congratulations!  Your new Judo Framework based application is working!</b>
				<h4>Edit this Page</h4>
				<p>To change the content on this page, edit <b>'[project_dir]/webfiles/home.jsp'</b>.
				
				<h4>Change the Look and Feel of Your New Application</h4>
				
				<p>The look and feel of this application is driven by the cascading style
				sheets located in the <b>'[project_dir]/webfiles/includes'</b> directory.
				
				<p>To edit which style is used by Judo Framework application views, you
				will need to edit the <b>'[project_dir]/config/runtime/judo_config.properties'</b> file
				and change the <b>'judo.style.css.document'</b> property.
				
				<h4>Create a Controller for this Page</h4>
				<p>Most
				pages in a Judo Framework application are represented by a "Controller Class".  To
				make things easy, Judo provides a default controller for this home page that is used until
				you create your own.  For most applications
				you will want to create your own controller class to handle requests for this page.
				To do so, please follow these directions:
				<ol>
					<li>Create a new package under the <b>'[project_dir]/src'</b> that will contain the
					Page Controller classes for your application.  For example <b>'com.acme.controllers'.</b>
					<li>Edit the <b>[project_dir]/config/runtime/judo_config.properties</b> file and change
					the <b>'judo.controllers.base.classpath'</b> property to specify what your new controller
					package is.  For example, if your new default controller package is <b>'com.acme.controllers'</b>
					then the property should be: <b>'judo.controllers.base.classpath=com.acme.controllers'</b>
					<li>Create a new Class named 'AppHome' in your new controller package.  This class should
					extend <b>org.judo.controller.PageController</b>.
					<li>In your new AppHome class, create a new method with the signature:  <b>'public void home()'</b>.  
					Since this file is named <b>'home.jsp'</b>, this new method will be the action method
					that executes when this page is requested.
				</ol>
				<h4>Learn to use the Judo Framework</h4>
				<p>It is highly recomended that you take a half hour or so to follow the 
				"Quick Start Tutorial" at 
				<a href="http//www.judoframework.org/quickstart.jspx">http//www.judoframework.org/quickstart.jspx</a>.
				<p>That tutorial will give you every thing you need to get up and running with the Judo 
				Framework.
				
				<!-- Remove the above text to add your own home page content -->
				
			</div>
		</div>
	</body>
</html>